/*-----------------------------------------------------------------------------
 * stock_server_dgram.h - Header for datagram based server routines and data
 *                        structures
 *
 * March 2010, Forhad Ahmed
 *-----------------------------------------------------------------------------
 */

#ifndef _STOCK_SERVER_DGRAM_
#define _STOCK_SERVER_DGRAM_

#include "avl_tree.h"

typedef struct stock_dgram_stats_t {
    

} stock_dgram_stats_t;


typedef struct stock_dgram_clientinfo_t {
    avl_node   avl;
    
} stock_dgram_clientinfo;


extern stock_dgram_stats_t  stock_server_dgram_stats;
extern avl_tree            *stock_server_dgram_clients;

void
stock_server_dgram(int socket);

#endif /* _STOCK_SERVER_DGRAM_ */
